#include "algo.hpp"
#include "tools.hpp"
#include <cstdio>
#include <vector>

int main()
{
    auto& ansi = lxj::OpenANSI::instance();
    ansi.set_mode(1).set_color(76);
    lxj::Time time;
    auto&     random = lxj::Random<int>::instance();

    std::vector<int> gas{1, 2, 1, 3, 4}, cost{4, 4, 1, 5, 1};
    std::string      s   = "ababbc";
    auto             ans = lxj::longestSubstring(s, 2);
    std::printf("%d", ans);

    std::puts("");
    return 0;
}